# Title     : TODO
# Objective : TODO
# Created by: Administrator
# Created on: 2020/10/21 0021

pacman::p_load(vegan)

spe1<-c(0.1,0.2,0.3,0.4,0.5)
spe2<-c(0.6,0.7,0.8,0.9,1)
ab<-cbind(spe1,spe2)
rownames(ab)<-LETTERS[1:5]
#各种标准化  按照行标准化
ab1<-decostand(ab, MARGIN=1, "total")
ab2<-decostand(ab, MARGIN=1, "normalize")
ab3<-decostand(ab, MARGIN=1, "hellinger")
ab4<-decostand(ab, MARGIN=1, "chi.square")
ab5<-wisconsin(ab)